package com.teemo.dp.singleton.demo2;


/**
 * @author Teemo
 */
public class Demo {
    public static void main(String[] args) {
        // 哥哥要使用洗衣机
        Washer washer = Washer.getInstance();
        Washer washer2 = Washer.getInstance();
        System.out.println(washer);
        System.out.println(washer2);
    }
}
